package com.itcg.springboot03deptemptest.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Page<T> {
    private Long totalCount;//总记录数
    private Integer pageSize;//每页显示记录数
    private Integer pageNum;//当前页码
    private Integer totalPage;//总页数
    private List<T> dataList;//页面数据
}
